<template>
	<view class="container">
		<view class="seed-select">
			<view class="seed-img">
				<image src="../../static/ce.png" style="height: 110px; width: 100px;"></image>
			</view>
			<view class="seed-text">
				<view class="seed-text-title">
					<text>全年按季节种植种子</text>
				</view>
				<view class="seed-text-introduce">
					<text>最低种植:1平方米;产量:100kg/平方米</text>
				</view>
				<view class="seed-text-price">
					<view class="seed-text-price-left">
						<text style="color: red; font-weight: bold;">$10/平方米</text>
					</view>
					<view class="seed-text-price-select">
						<up-number-box v-model="value" @change="valChange" button-size="28"></up-number-box>
					</view>
				</view>
			</view>
		</view>
		<view class="fixed-bottom-bar">
			<view style="margin-left: 10px;display: flex;
		align-items: center;">
				<text style="font-size: 14px;">已选:1/1平方米</text>
				<text style="font-size: 14px; margin-left: 10px;">总计：10.00元</text>
			</view>
			<view style="margin-left:auto">
				<up-button color="rgb(89,225,134)" text="确定" style="height: 25px; width: 80px;" >
				</up-button>
			</view> 
		</view>
	</view>
</template>

<script >
</script>

<style scoped>
	.container{
		background-color: rgb(241, 241, 241);
		padding-top: 10px;
		height: 100vh;
	}
	.seed-select{
		width: 95%;
		height: 120px;
		margin: auto;
		background-color: white;
		border-radius: 5px;
		display: flex;
	}
	.seed-img{
		display: flex;
		justify-content: center; /* 水平居中 */
		align-items: center; /* 垂直居中 */
		height: 100%;
		width: 200px;
	}
	.seed-text{
		height: 100%;
		width: 100%;
		padding-left: 10px;
	}
	.seed-text-title{
		margin-top: 12px;
		font-size: 17px;
		font-weight: bold;
	}
	.seed-text-introduce{
		margin-top: 7px;
		font-size: 12px;
	}
	.seed-text-price{
		width: 100%;
		height: 40px;
		margin-top: 10px;
		display: flex;
	}
	.seed-text-price-left{
		display: flex;
		justify-content: center; /* 水平居中 */
		align-items: center; /* 垂直居中 */
	}
	.seed-text-price-select{
		display: flex;
		padding-left: 26px;
	}
	.fixed-bottom-bar {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		display: flex;
		background-color: #fff;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
		padding: 10px 0;
		z-index: 1000;
		/* 确保在顶部 */
	}
</style>